<%--
  Created by IntelliJ IDEA.
  User: chongge
  Date: 2024/1/9
  Time: 12:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<style>
    .form-group2{
        width: 800px;
    }
    form{
        display: block;
        position: relative;
        left: 350px;
        top: 130px;
        margin: 0 auto;
    }
</style>
<body>
<%--<form action=" login_action.jsp">--%>
<%--    账号: <input type="text" name ="name" placeholder="请输入账号"><br>--%>
<%--    密码: <input type="password" name="pwd" placeholder="请输入密码"><br>--%>
<%--    <input type="submit" value="登录">--%>
<%--</form>--%>
<form class="form-horizontal" role="form" action="login_action.jsp">
    <div class="form-group form-group2">
        <label for="firstname" class="col-sm-2 control-label">Account</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="firstname"
                   placeholder="请输入账号" name="name">
        </div>
    </div>
    <div class="form-group form-group2">
        <label for="lastname" class="col-sm-2 control-label">Password</label>
        <div class="col-sm-10">
            <input type="password" class="form-control" id="lastname"
                   placeholder="请输入密码" name="pwd">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <div class="checkbox">
                <label>
                    <input type="checkbox"> 请记住我
                </label>
            </div>
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <input type="submit"  class="btn btn-default" value="登录">
<%--            <button type="submit" class="btn btn-default">登录</button>--%>
        </div>
        <div class="col-sm-offset-2 col-sm-10">
            <a href="register.jsp">用户注册</a>
        </div>
    </div>
</form>

</body>
</html>
